home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / Jooky / includes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-11-01  |  2.2 KB  |  142 lines

  1. #include <vga.h>
  2. #include <pwd.h>
  3. #include <time.h>
  4. #include <fcntl.h>
  5. #include <stdio.h>
  6. #include <error.h>
  7. #include <errno.h>
  8. #include <netdb.h>
  9. #include <curses.h>
  10. #include <malloc.h>
  11. #include <dirent.h>
  12. #include <unistd.h>
  13. #include <signal.h>
  14. #include <stdlib.h>
  15. #include <string.h>
  16. #include <stdarg.h>
  17. #include <sys/file.h>
  18. #include <sys/stat.h>
  19. #include <sys/time.h>
  20. #include <sys/wait.h>
  21. #include <sys/types.h>
  22. #include <sys/socket.h>
  23. #include <arpa/inet.h>
  24. #include <netinet/in.h>
  25.  
  26.  
  27. DIR *mp3dirhandle ;
  28. struct dirent *mp3dir ;
  29. struct dirent **sortedlist ;
  30.  
  31. struct mp3ent
  32. {
  33.     char *fname ;
  34.     struct mp3ent *next ;
  35.     struct mp3ent *prev ;
  36. };
  37.  
  38. struct mp3ent *first ;
  39. struct mp3ent *last ;
  40. struct mp3ent *curr ;
  41. struct mp3ent *dument ;
  42.  
  43. struct mp3playerdata
  44. {
  45.     char *player;
  46.     char *playerflags[10];
  47.     char *playeroutput;
  48. };
  49.  
  50. struct mp3playerdata mp3player[5];
  51.  
  52. char *actstr[32];
  53.  
  54. char *mp3directory ;
  55.  
  56. char *iam ;
  57. char *clockout ;
  58.  
  59. char *host;
  60.  
  61. char *argstart ;
  62. char *lastargv ;
  63. char *player ;
  64. char *playerdir ;
  65. char *playerflags[10] ;
  66. char *playeroutput ;
  67.  
  68. char *userid ;
  69. char *readline ;
  70. char *returnstring ;
  71. char *setupfilename ;
  72. char *otestfn ;
  73.  
  74. char *password ;
  75. char *guess ;
  76.  
  77. FILE *setupfile ;
  78. FILE *ttyout ;
  79. FILE *otest ;
  80. FILE *jookyerr ;
  81.  
  82. WINDOW *win ;
  83. SCREEN *screen ;
  84.  
  85. long clockoutptr ;
  86.  
  87.         int their_size;
  88.         int bl;
  89.         char *stringy;
  90.         char *instring;
  91.  
  92.         struct sockaddr_in sokitin;
  93.         struct sockaddr_in their_addr;
  94.  
  95.  
  96. int fd;
  97. int port;
  98. int new_fd;
  99. int msgcountback[256];
  100. int sockets[2];
  101. char sockbuf[256];
  102. char squig[4];
  103. int squigpos;
  104.  
  105. int sockopt ;
  106. int sockoptlen ;
  107. int useclient ;
  108. int envpsize ;
  109. int pssize ;
  110. int argvlength ;
  111. int key ;
  112. int count ;
  113. int playerpid ;
  114. int displaypid ;
  115. int pidstatus ;
  116. int lockfilehan ;
  117. int argy ;
  118. int qq ;
  119. int i,x ;
  120. int scramble ;
  121. int quit ;
  122. int todo ;
  123. int rep ;
  124. int daemonize ;
  125. int daemonstat ;
  126. int counterpid ;
  127. int futabapid ;
  128. int socketpid ;
  129. int usefutaba ;
  130. int usemp3blaster ;
  131. int quiet ;
  132. int dirhasbeenloaded ;
  133. int defaultplayer ;
  134. int playertouse ;
  135. int verbose ;
  136. int oldcurs ;
  137. int usesocket ;
  138. int numberoffiles ;
  139. int playerselected ;
  140. int titlequery ;
  141. int usepasswd ;
  142.